//
//  CommentCellViewModel.h
//  CommentPage
//
//  Created by 欧杨 on 2020/11/28.
//

#import <Foundation/Foundation.h>
#import "Comment.h"
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface CommentCellViewModel : NSObject

@property(assign, nonatomic) bool isSelf;
@property(assign, nonatomic) bool isLike;
@property(strong, nonatomic) UIImage* avater;
@property(strong, nonatomic) NSString *userName;
@property(strong, nonatomic) NSDate *date;
@property(strong, nonatomic) NSString *content;
@property(assign, nonatomic) NSInteger *replyNum;
@property(assign, nonatomic) NSInteger *likeNum;

- (instancetype)initWithComment:(Comment *)comment;
- (void)likeClicked;

@end

NS_ASSUME_NONNULL_END
